home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 February / OpenLinux 2.3 CD.iso / live / usr / share / vim / syntax / nosyntax.vim < prev    next >
Encoding:
Text File  |  1999-08-10  |  498 b   |  22 lines

  1. " Vim syntax support file
  2. " Maintainer:    Bram Moolenaar <Bram@vim.org>
  3. " Last change:    1997 Dec 16
  4.  
  5. " This is the cleanup file for syntax highlighting.
  6. " It removes the autocommands and stops highlighting for all buffers.
  7.  
  8. if has("syntax")
  9.   augroup syntax
  10.     au!
  11.     au BufEnter * syn clear
  12.     au BufEnter * if exists("b:current_syntax") | unlet b:current_syntax | endif
  13.     doautoall syntax BufEnter *
  14.     au!
  15.   augroup END
  16.   if exists("syntax_on")
  17.     unlet syntax_on
  18.   endif
  19. endif
  20.  
  21. " vim: ts=8
  22.